| Summary Item | Total | Failed |
|---|---|---|
| Requests | 18 | 0 |
| Prerequest Scripts | 25 | 0 |
| Test Scripts | 32 | 0 |
| Assertions | 11 | 10 |
| Skipped Tests | 0 | - |
Cannot read property 'enable' of undefined
expected response to have status code 200 but got 403
expected response to have status code 200 but got 403
Cannot read property '0' of undefined
expected response to have status code 200 but got 403
Cannot read property 'recovery_url' of undefined
expected response to have status code 200 but got 403
Cannot read property 'length' of undefined
expected response to have status code 200 but got 403
expected undefined to not deeply equal undefined
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 41ccacd2-955c-42e2-a137-09ea3f752ea4 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Type | application/x-www-form-urlencoded |
| Content-Length | 211 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:53 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| host | varnish |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/json; charset=utf-8 |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4466bb7e-f7dd-4610-afab-ade91102db73 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 326 |
{
"type": "CLIENT",
"login": "main.user_1611667553119A@example.com",
"password": "00000000",
"first_name": "Suggested stack A",
"last_name": "api",
"birth_date": "1988-01-01",
"gender": "female",
"salt": "NotReallySecuredS4lt",
"nickname": "postman.userA",
"workplace": "Postman test"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:53 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1804 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/x-www-form-urlencoded |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3828c0c9-d84b-43ce-acb9-6af364d1ced4 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 227 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667553119A@example.com","password":"00000000"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:53 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1b3d34bb-1a45-424b-8514-7b727fa712e5 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:53 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1913 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| User should be eligible to Suggested stack | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| User should be eligible to Suggested stack | |
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1b34ba22-4d69-4116-b506-07b10e8a77e5 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 72 |
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:53 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/x-www-form-urlencoded |
| Authorization | OAuth="null" |
| User-Agent | happn/2300 CFNetwork/897.15 Darwin/18.7.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6c434895-6c87-42f8-a03b-e9fd0e981c98 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fwomen%2F80.jpg"}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:25:53 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Connection | keep-alive |
| Transfer-Encoding | chunked |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e74ba688-42b6-46b0-9254-3f4b9647290d |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 233 |
{
"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:54 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9e0d7332-4c59-45d7-b399-a686acfed96d |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 42 |
{
"type": "ios",
"app_build": "9999"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:54 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1922 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| X-Happn-DID | null |
| Content-Type | application/json; charset=utf-8 |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b6ac7e34-e867-4b9b-882f-dace091d7198 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 99 |
{
"latitude": 65.49193136208638,
"longitude": -24.846669550067332,
"country_id": "FR"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:54 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1924 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7b8deee0-e956-4188-9613-44bba24560f1 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{
"type": "EMAIL",
"value": "toto@happn.com"
}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:25:54 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Connection | keep-alive |
| Transfer-Encoding | chunked |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cfdedf57-dca8-49fc-b9a8-8ad17da078b3 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:25:54 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Connection | keep-alive |
| Transfer-Encoding | chunked |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| toto@happn.com as email recovery information | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| toto@happn.com as email recovery information | |
| Header Name | Header Value |
|---|---|
| Content-Type | application/x-www-form-urlencoded |
| Host | varnish |
| CF-IPCountry | FR |
| Cookie | |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 385ac5a8-1d5c-4d34-a2d5-d6c5ce49f81d |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 211 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:54 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0db85358-72f5-405e-8b7c-0cb236871808 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 2 |
{}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:25:54 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Connection | keep-alive |
| Transfer-Encoding | chunked |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| Recovery url Exists | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| Recovery url Exists | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7a1356c9-b733-47b3-acef-a83b93ba9431 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:25:54 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Connection | keep-alive |
| Transfer-Encoding | chunked |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| user have a least 1 recovery token | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| user have a least 1 recovery token | |
| Header Name | Header Value |
|---|---|
| Content-Type | application/x-www-form-urlencoded |
| Host | varnish |
| CF-IPCountry | FR |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | da536cd2-15d9-4f9f-a59c-90e39d3079cd |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 272 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"assertion","assertion_type":"recovery_token","assertion":"{ \"recovery_token\": \"{{recoveryToken}}\" }"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:55 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| Access token is defined | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| Access token is defined | |
| Header Name | Header Value |
|---|---|
| Content-Type | application/x-www-form-urlencoded |
| Host | varnish |
| CF-IPCountry | FR |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 05c9e21b-cf54-4af0-8103-fdf7f31af9b1 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 272 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"assertion","assertion_type":"recovery_token","assertion":"{ \"recovery_token\": \"{{recoveryToken}}\" }"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:55 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 403 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 63c2608b-e228-4d08-8629-ffb9142013a0 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Type | application/x-www-form-urlencoded |
| Content-Length | 185 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"refresh_token","refresh_token":"null"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:25:55 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| CF-IPCountry | FR |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0d805724-2ae1-414e-b4fa-70c3eadf6da0 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:25:55 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Connection | keep-alive |
| Transfer-Encoding | chunked |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}